class OperationType < ActiveRecord::Base
  has_one :operation

  def self.list
    find(:all)
  end

  def self.group
    find(:all,
         :conditions => "id in (0, 1, 2, 3, 4)")
  end

  def self.right
    find(:all,
         :conditions => "id in (0, 1, 2, 5, 6)")
  end
  
end
